﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using RedPanda.MusicPlayer.ViewModel;

namespace RedPanda.ViewModel
{
    /// <summary>
    /// 该类用于存储整个程序所用的所有ViewModel
    /// </summary>
    public class MainViewModel
    {
        #region filed
        //当前的播放列表;
        private PlaylistViewModel currentPlaylist;

        //当前播放的曲目;
        private AudioFileViewModel currentTrack;
        #endregion

        public MainViewModel()
        {

        }


        #region Property 
        public PlaylistViewModel CurrentPlaylist
        {
            get
            {
                return currentPlaylist;
            }
            set
            {
                currentPlaylist = value;
            }
        }

        public AudioFileViewModel CurrentTrack
        {
            get
            {
                return currentTrack;
            }
            set
            {
                currentTrack = value;
            }
        }
        #endregion
    }
}
